package com.imooc.commons.constant;

import lombok.Getter;

/**
 * \* @author: bear
 * \* Date: 2021-07-11-18:50
 * \* describe:
 */
@Getter
public enum RedisKeyConstant {

	diner_points("diner:points", "diner用户的积分"),
	verify_code("verify_code","验证码"),
	seckill_vouchers("seckill_vouchers:","秒杀劵的key"),
	following_feeds("following_feeds:", "我关注的好友的FeedsKey"),
	following("following:","关注集合key"), //关注别人
	followers("followers:","粉丝集合key"); //别人关注我



	private String key;
	private String value;

	RedisKeyConstant(String key, String value) {
		this.key = key;
		this.value = value;
	}
}
